package com.slx.sthq.common.utils;

import java.util.UUID;

public class UuidUtils {
    /**
     * 生成uuid
     *
     * @return
     */
    public static Long getUuid() {
        UUID uuid = UUID.randomUUID();
        long uniqueLong = uuid.getMostSignificantBits() & Long.MAX_VALUE;
        return uniqueLong;
    }
}
